﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001459 RID: 5209
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TravelBrochureSetCustomValueCsReq : IMessage<TravelBrochureSetCustomValueCsReq>, IMessage, IEquatable<TravelBrochureSetCustomValueCsReq>, IDeepCloneable<TravelBrochureSetCustomValueCsReq>, IBufferMessage
	{
		// Token: 0x17004198 RID: 16792
		// (get) Token: 0x0600E904 RID: 59652 RVA: 0x0026EB84 File Offset: 0x0026CD84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TravelBrochureSetCustomValueCsReq> Parser
		{
			get
			{
				return TravelBrochureSetCustomValueCsReq._parser;
			}
		}

		// Token: 0x17004199 RID: 16793
		// (get) Token: 0x0600E905 RID: 59653 RVA: 0x0026EB8B File Offset: 0x0026CD8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TravelBrochureSetCustomValueCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700419A RID: 16794
		// (get) Token: 0x0600E906 RID: 59654 RVA: 0x0026EB9D File Offset: 0x0026CD9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TravelBrochureSetCustomValueCsReq.Descriptor;
			}
		}

		// Token: 0x0600E907 RID: 59655 RVA: 0x0026EBA4 File Offset: 0x0026CDA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetCustomValueCsReq()
		{
		}

		// Token: 0x0600E908 RID: 59656 RVA: 0x0026EBAC File Offset: 0x0026CDAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetCustomValueCsReq(TravelBrochureSetCustomValueCsReq other) : this()
		{
			this.value_ = other.value_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E909 RID: 59657 RVA: 0x0026EBD1 File Offset: 0x0026CDD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TravelBrochureSetCustomValueCsReq Clone()
		{
			return new TravelBrochureSetCustomValueCsReq(this);
		}

		// Token: 0x1700419B RID: 16795
		// (get) Token: 0x0600E90A RID: 59658 RVA: 0x0026EBD9 File Offset: 0x0026CDD9
		// (set) Token: 0x0600E90B RID: 59659 RVA: 0x0026EBE1 File Offset: 0x0026CDE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Value
		{
			get
			{
				return this.value_;
			}
			set
			{
				this.value_ = value;
			}
		}

		// Token: 0x0600E90C RID: 59660 RVA: 0x0026EBEA File Offset: 0x0026CDEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TravelBrochureSetCustomValueCsReq);
		}

		// Token: 0x0600E90D RID: 59661 RVA: 0x0026EBF8 File Offset: 0x0026CDF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TravelBrochureSetCustomValueCsReq other)
		{
			return other != null && (other == this || (this.Value == other.Value && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E90E RID: 59662 RVA: 0x0026EC28 File Offset: 0x0026CE28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Value != 0U)
			{
				num ^= this.Value.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E90F RID: 59663 RVA: 0x0026EC67 File Offset: 0x0026CE67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E910 RID: 59664 RVA: 0x0026EC6F File Offset: 0x0026CE6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E911 RID: 59665 RVA: 0x0026EC78 File Offset: 0x0026CE78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Value != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Value);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E912 RID: 59666 RVA: 0x0026ECAC File Offset: 0x0026CEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Value != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Value);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E913 RID: 59667 RVA: 0x0026ECEA File Offset: 0x0026CEEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TravelBrochureSetCustomValueCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Value != 0U)
			{
				this.Value = other.Value;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E914 RID: 59668 RVA: 0x0026ED1B File Offset: 0x0026CF1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E915 RID: 59669 RVA: 0x0026ED24 File Offset: 0x0026CF24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Value = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005C1A RID: 23578
		private static readonly MessageParser<TravelBrochureSetCustomValueCsReq> _parser = new MessageParser<TravelBrochureSetCustomValueCsReq>(() => new TravelBrochureSetCustomValueCsReq());

		// Token: 0x04005C1B RID: 23579
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005C1C RID: 23580
		public const int ValueFieldNumber = 14;

		// Token: 0x04005C1D RID: 23581
		private uint value_;
	}
}
